package com.online.onlineshop.utils;

import lombok.Getter;

/**
 * @author zihao.wang1
 * @date 2022/3/9
 */
@Getter
public enum ReturnCode {

    SUCCESS("0", "success"),
    FAIL201("201", "数据异常");

    private String code;
    private String msg;

    ReturnCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
